from drg_group.foshan_2022.Base import message,intersect,has_mcc,has_cc,SS_VALID

def group(record):
  adrg_zd=["I60.000x002","I60.000x003","I60.000x004","I60.000x006","I60.000x007","I60.000x008","I60.001","I60.101","I60.200x002","I60.200x003","I60.200x004","I60.200x005","I60.200x007","I60.201","I60.301","I60.400x002","I60.400x003","I60.400x004","I60.401","I60.500x003","I60.500x004","I60.600x001","I60.600x003","I60.600x004","I60.600x005","I60.600x006","I60.600x007","I60.600x008","I60.601","I60.602","I60.700x001","I60.701","I60.900x005","I67.100x001","I67.100x008","I67.100x010","I67.100x011","I67.100x012","I67.100x013","I67.100x017","I67.100x018","I67.100x019","I67.100x020","I67.100x021","I67.100x023","I67.100x026","I67.100x029","I67.100x030","I67.100x032","I67.100x033","I67.100x035","I67.103","I67.107","I67.108","I67.109","I67.110","I67.111","I72.000x034","I72.000x035","I72.000x036","I72.000x038","I72.500x001","I72.500x002","I72.600x002","Q28.104","Q28.106","Q28.302","Q28.304","S06.800x009"]
  adrg_zd1=[]
  adrg_ss=[]
  adrg_ss1=[]
  adrg_ss2=[]
  if True and record.zdList[0] in adrg_zd:
    message('符合BE22入组条件，匹配规则：主诊断匹配')
    return True